Skip to content

fix(ci): fix generate SDK workflow GPG signing and push auth#552

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/generate-sdk-workflow
Apr 5, 2026
Merged

fix(ci): fix generate SDK workflow GPG signing and push auth#552
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/generate-sdk-workflow

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

Summary

  • Use setup-and-install action instead of manual actions/checkout with persist-credentials: false
  • Push via git push origin instead of manual URL construction — inherits checkout credentials
  • Only run cleanup-git-signing when setup-git-signing actually ran
  • Use checkout-ref for the validate job

Fixes the "push declined due to repository rule violations" error that has been breaking the scheduled generate-sdk workflow since the GPG signing requirement was added.

Test plan

  • CI passes
  • Trigger generate SDK workflow manually after merge to verify push works

- Use setup-and-install action instead of manual checkout with
  persist-credentials: false
- Push via git push origin instead of manual URL construction
- Only run cleanup-git-signing when setup-git-signing actually ran
- Use checkout-ref for validate job
@jdalton John-David Dalton (jdalton) merged commit f1721a8 into main Apr 5, 2026
10 checks passed
@jdalton John-David Dalton (jdalton) deleted the fix/generate-sdk-workflow branch April 5, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants